home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4668 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  851 b 

  1. Path: airdmhor.gen.nz!not-for-mail
  2. From: gumboot@airdmhor.gen.nz (Simon Hosie)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Can main() function be called?
  5. Date: 7 Feb 1996 02:07:48 +1300
  6. Organization: Airdmhor
  7. Message-ID: <4f7jr4$94i@airdmhor.gen.nz>
  8. References: <4f3hgv$ml8@columba.udac.uu.se>
  9. NNTP-Posting-Host: airdmhor.gen.nz
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. > > I think that it cannot be done, I see no reasonalbe way how main()
  13. > > could be called more than once.
  14. > >
  15. > >
  16. > >  What is your thoughts on this?
  17. > >
  18.  
  19. Fredrik Raadesand:
  20. > I would say the simplest way to find out is to try it out ?
  21. > ...to post the question on the net is probably more difficult. ;)
  22.  
  23. > Either it works or it doesn't, right ?
  24.  
  25.   Try turning on -ansi -pedantic -Wall -Werrors -W<lots of other warnings
  26. not encompassed by -Wall> with GCC and see if 'void main()' is legal.
  27.